package calcmaster.calculator.functions;

import calcmaster.calculator.domain.Function;

public class MinFunction extends Function {

	public MinFunction() {
		super(2);
	}
	
	@Override
	public double executeFunction(double[] arguments) {
		return StrictMath.min(arguments[0], arguments[1]);
	}

}
